package com.zlk.algorithm.dataStructure.graph.impl;

import java.util.ArrayList;

/**
 * @program: algorithm
 * @ClassName Node
 * @description:
 * @author: slfang
 * @create: 2024-03-15 16:42
 * @Version 1.0
 **/
public class Node {

    public int in;
    public int out;
    public int value;
    //发散的点
    public ArrayList<Node> nexts;
    //发散的边
    public ArrayList<Edge> edges;

    public Node(int value) {
        this.value = value;
        in = 0;
        out = 0;
        nexts = new ArrayList<>();
        edges = new ArrayList<>();
    }
}
